<template>
    <div>
        {{name }}
    </div>
</template>

<script>
const { ref, onMounted } = Vue;
export default {
   setup() {

       onMounted(() => {
           console.log('Student组件挂载完毕')
       });
       const name = ref('张三');
       return {
           name
       }
   }
}
</script>

<style scoped>

</style>
